package com.market.product.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 商品品牌信息实体类
 */
public class ProductBrandInfo {

    /**
     * ID
     */
    private Integer id;
    /**
     * 品牌名称
     */
    private String name;
    /**
     * 品牌描述
     */
    private String productDesc;
    /**
     * 品牌介绍
     */
    private String content;
    /**
     * 品牌logo
     */
    private String logo;
    /**
     * 品牌状态
     */
    private String status;
    /**
     * 创建人
     */
    private Integer createBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MMM-dd hh:mm:ss")
    private Date createTime;
    /**
     * 更新人
     */
    private Integer updateBy;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MMM-dd hh:mm:ss")
    private Date updateTime;

    @Override
    public String toString() {
        return "ProductBrandInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", productDesc='" + productDesc + '\'' +
                ", content='" + content + '\'' +
                ", logo='" + logo + '\'' +
                ", status='" + status + '\'' +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public ProductBrandInfo(Integer id, String name, String productDesc, String content, String logo, String status, Integer createBy, Date createTime, Integer updateBy, Date updateTime) {
        this.id = id;
        this.name = name;
        this.productDesc = productDesc;
        this.content = content;
        this.logo = logo;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }
}
